<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8" />
    <title>登录</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" type="text/css" href="/webjars/bootstrap/css/bootstrap.min.css"  th:href="@{/webjars/bootstrap/css/bootstrap.min.css}" />
<script type="text/javascript" src="/webjars/jquery/jquery.min.js" th:src="@{/webjars/jquery/jquery.min.js}" ></script>
<script type="text/javascript" src="/webjars/bootstrap/js/bootstrap.min.js"  th:src="@{/webjars/bootstrap/js/bootstrap.min.js}"></script>
<link rel="stylesheet" type="text/css" href="/static/css/login.css" th:href="@{/static/css/login.css}" />
</head>
<body>

<div class="container login-container">
    <div class="row">
    <div class="col-md-1"></div>
         <div class="col-md-5">
         	<div class="app-download">
         	
         	
         	</div>
             
         </div>
         
         <div class="col-md-3 form-login">
         <div class="page-header">
  		<h1>用户登录 <small>欢迎您回家</small></h1>
	</div>
	<form method="post">
			<div class="form-group">
				<label for="userName">用户名</label> 
				<input type="text" class="form-control" name="username" placeholder="用户名" required="required"  autofocus="true" />
			</div>
			<div class="form-group">
				<label for="userPwd">密码</label> 
				<input type="password" class="form-control" name="password"	placeholder="密码" required="true" />
			</div>
			<div class="form-group">
			 <input type="checkbox" name="remember-me" value="true" /><p>Remember me</p>
			 </div>
			<button type="submit" class="btn btn-default btn-block">登录</button>
			
			<div th:if="${error != null}" th:text="${error}"> </div>
			<div th:if="${msg != null}" th:text="${msg}"> </div>
	   
	</form>
	
  </div>
  </div>
</div>
	

 <div th:replace="fragments/footer::footer">footer</div>

  </body>
</html>